Optimal. Leaf size=80 \[ \frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}-\frac{\sqrt{a+b \sec ^2(e+f x)}}{f}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sec ^2(e+f x)}}{\sqrt{a}}\right )}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.104652, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24, Rules used = {4139, 446, 80, 50, 63, 208} \[ \frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}-\frac{\sqrt{a+b \sec ^2(e+f x)}}{f}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sec ^2(e+f x)}}{\sqrt{a}}\right )}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4139
Rule 446
Rule 80
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \sqrt{a+b \sec ^2(e+f x)} \tan ^3(e+f x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (-1+x^2\right ) \sqrt{a+b x^2}}{x} \, dx,x,\sec (e+f x)\right )}{f}\\ &=\frac{\operatorname{Subst}\left (\int \frac{(-1+x) \sqrt{a+b x}}{x} \, dx,x,\sec ^2(e+f x)\right )}{2 f}\\ &=\frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}-\frac{\operatorname{Subst}\left (\int \frac{\sqrt{a+b x}}{x} \, dx,x,\sec ^2(e+f x)\right )}{2 f}\\ &=-\frac{\sqrt{a+b \sec ^2(e+f x)}}{f}+\frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}-\frac{a \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,\sec ^2(e+f x)\right )}{2 f}\\ &=-\frac{\sqrt{a+b \sec ^2(e+f x)}}{f}+\frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}-\frac{a \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b \sec ^2(e+f x)}\right )}{b f}\\ &=\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+b \sec ^2(e+f x)}}{\sqrt{a}}\right )}{f}-\frac{\sqrt{a+b \sec ^2(e+f x)}}{f}+\frac{\left (a+b \sec ^2(e+f x)\right )^{3/2}}{3 b f}\\ \end{align*}
Mathematica [F] time = 1.07293, size = 0, normalized size = 0. \[ \int \sqrt{a+b \sec ^2(e+f x)} \tan ^3(e+f x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.36, size = 648, normalized size = 8.1 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )^{2} + a} \tan \left (f x + e\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.888, size = 969, normalized size = 12.11 \begin{align*} \left [\frac{3 \, \sqrt{a} b \cos \left (f x + e\right )^{2} \log \left (128 \, a^{4} \cos \left (f x + e\right )^{8} + 256 \, a^{3} b \cos \left (f x + e\right )^{6} + 160 \, a^{2} b^{2} \cos \left (f x + e\right )^{4} + 32 \, a b^{3} \cos \left (f x + e\right )^{2} + b^{4} + 8 \,{\left (16 \, a^{3} \cos \left (f x + e\right )^{8} + 24 \, a^{2} b \cos \left (f x + e\right )^{6} + 10 \, a b^{2} \cos \left (f x + e\right )^{4} + b^{3} \cos \left (f x + e\right )^{2}\right )} \sqrt{a} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}\right ) + 8 \,{\left ({\left (a - 3 \, b\right )} \cos \left (f x + e\right )^{2} + b\right )} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{24 \, b f \cos \left (f x + e\right )^{2}}, -\frac{3 \, \sqrt{-a} b \arctan \left (\frac{{\left (8 \, a^{2} \cos \left (f x + e\right )^{4} + 8 \, a b \cos \left (f x + e\right )^{2} + b^{2}\right )} \sqrt{-a} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{4 \,{\left (2 \, a^{3} \cos \left (f x + e\right )^{4} + 3 \, a^{2} b \cos \left (f x + e\right )^{2} + a b^{2}\right )}}\right ) \cos \left (f x + e\right )^{2} - 4 \,{\left ({\left (a - 3 \, b\right )} \cos \left (f x + e\right )^{2} + b\right )} \sqrt{\frac{a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{12 \, b f \cos \left (f x + e\right )^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a + b \sec ^{2}{\left (e + f x \right )}} \tan ^{3}{\left (e + f x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )^{2} + a} \tan \left (f x + e\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]